NXP Semiconductors /LPC18xx /ADC0 /GDR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as GDR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0RESERVED0V_VREF0RESERVED0CHN0RESERVED 0 (OVERRUN)OVERRUN 0 (DONE)DONE

Description

A/D Global Data Register. Contains the result of the most recent A/D conversion.

Fields

RESERVED

Reserved. These bits always read as zeroes.

V_VREF

When DONE is 1, this field contains a binary fraction representing the voltage on the ADCn pin selected by the SEL field, divided by the reference voltage on the VDDA pin. Zero in the field indicates that the voltage on the ADCn input pin was less than, equal to, or close to that on VSSA, while 0x3FF indicates that the voltage on ADCn input pin was close to, equal to, or greater than that on VDDA.

RESERVED

Reserved. These bits always read as zeroes.

CHN

These bits contain the channel from which the LS bits were converted.

RESERVED

Reserved. These bits always read as zeroes.

OVERRUN

This bit is 1 in burst mode if the results of one or more conversions was (were) lost and overwritten before the conversion that produced the result in the V_VREF bits.

DONE

This bit is set to 1 when an analog-to-digital conversion completes. It is cleared when this register is read and when the AD0/1CR register is written. If the AD0/1CR is written while a conversion is still in progress, this bit is set and a new conversion is started.

Links

()